import service from '../utils/service'

// 获取主页面初始数据
export function GetInitDate() {
    return service({
        method: 'GET',
        url: '/apiUser/tongji',
    })
}
// 登录接口
export function Login(data) {
    return service({
        method: 'POST',
        url: `/apiUser/api/login?username=${data.username}&password=${data.password}`,
    })
}